home *** CD-ROM | disk | FTP | other *** search
/ Utilities Professional 1-1500 / Utilities Professional 1-1500 (1994)(WPD)[!].iso / 12511500 / var1462.dms / var1462.adf / FaxDoc / test1.com < prev   
Text File  |  1994-04-17  |  2KB  |  73 lines

  1. .FCOM
  2. .FILL
  3. .FONT CGTimes 30
  4.  
  5. .STYLE UB
  6. Stackable fonts and Style support
  7. .ENDF
  8.  
  9. Starting at version 1.34, mkafax supports stackable fonts, and the use of
  10. styles, such as Bold, Italic and Underline.
  11.    
  12. Useage of the command .FONT has been extended, and the commands .STYLE
  13. and .ENDF have been added. 
  14.    
  15. The font system has been modified so that fonts are now nestable. This
  16. means you can set a font/style, and then return to the original
  17. font/style, without needing to know what that was. This can be very
  18. useful for include files, which can return to the original font before
  19. they exit, for example.  The .FONT command now takes an optional third
  20. parameter, which defines the requested style to use. This takes the
  21. form of a string, consisting of the letters N, B, U, I and E in any
  22. order, upper or lower case. 
  23. .NOFILL
  24. N - Normal
  25. B - Bold
  26. U - Underlined
  27. I - Italics
  28. E - Extended
  29. .FILL
  30. Note that the letters are parsed in order, and that N will clear the
  31. other flags and set the font back to normal. For example,
  32.  
  33. .FONT topaz 30 BU
  34.  .FONT topaz 30 BU
  35.  
  36. will set the font to topaz 30, Bold and Underlined.
  37.  
  38. .FONT CGTimes 50 I
  39.  .FONT CGTimes 50 I
  40.  
  41. set CGTimes at 50-point, Italic. You can retain the existing font, but
  42. change its style, by using the new .STYLE command. 
  43.  
  44. .STYLE U
  45.  .STYLE U
  46.  
  47. This is Underlined.
  48.  
  49. .STYLE IU
  50.  .STYLE IU
  51.  
  52. This is Underlined and Italic.
  53.  
  54.  .ENDF
  55. .ENDF
  56. Pops the font/style back to its previous value.
  57. .ENDF
  58. Popped again
  59. .ENDF
  60. and again
  61. .ENDF
  62. and again
  63.  
  64. All .FONT and .STYLE commands can now be nested. This means that the
  65. font/style you set will remain in effect until the new command .ENDF
  66. is encountered. After this the previous font/style set will be in
  67. force. The Default font, which can be set from your FAXLIB:Config file
  68. or by environ- mental variable, is always the underlying font. No
  69. matter how many .ENDF commands you enter, this will not be popped from
  70. the font stack.  Note that if you have defined a Header font, this
  71. will be automatically pushed for headers, and popped afterwards. 
  72.  
  73.